package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 user_edu_admin
 * 
 * @author longxianghang
 * @date 2024-05-31
 */
public class UserEduAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 1-教师 2-评审 3-管理员 */
    @Excel(name = "1-教师 2-评审 3-管理员")
    private Long userType;

    /** 是否已经阅读过须知 0-未阅读 1-已阅读 */
    @Excel(name = "是否已经阅读过须知 0-未阅读 1-已阅读")
    private Long readFlag;

    /** 评审范围 */
    @Excel(name = "评审范围")
    private String approveType;

    /** 账号姓名 例如 青岛卫生学校/沈众 */
    @Excel(name = "账号姓名 例如 青岛卫生学校/沈众")
    private String nockName;

    /** 学校名称 例如 青岛卫生学校 */
    @Excel(name = "学校名称 例如 青岛卫生学校")
    private String schoolName;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserType(Long userType) 
    {
        this.userType = userType;
    }

    public Long getUserType() 
    {
        return userType;
    }
    public void setReadFlag(Long readFlag) 
    {
        this.readFlag = readFlag;
    }

    public Long getReadFlag() 
    {
        return readFlag;
    }
    public void setApproveType(String approveType)
    {
        this.approveType = approveType;
    }

    public String getApproveType()
    {
        return approveType;
    }
    public void setNockName(String nockName) 
    {
        this.nockName = nockName;
    }

    public String getNockName() 
    {
        return nockName;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userType", getUserType())
            .append("readFlag", getReadFlag())
            .append("approveType", getApproveType())
            .append("nockName", getNockName())
            .append("schoolName", getSchoolName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
